<div id="head">
    <a href="__MODULE__"><img id="logo" src="__PUBLIC__/home/imeags/logo.png"></a>
    <div id="login">
        <ul>
            <li class="login"><img src="__PUBLIC__/home/imeags/my.png"><a href="
                    <?php
                        $a = session('member');
                         if($a[0]['username'] == ''|| $a[0]['username'] == null)
                         {
                            echo '__MODULE__/Login/login';
                         }else{
                            echo '__MODULE__/Personal/personal';
                         }
                       ?>">
                <?php
                        $a = session('member');
                         if($a[0]['username'] == ''|| $a[0]['username'] == null)
                         {
                            echo '登录';
                         }else{
                            echo $a[0]['username'];
                         }
                       ?>
            </a></li>
            <li><img src="__PUBLIC__/home/imeags/cart.png"><a href="__MODULE__/Cart/cart">购物车</a></li>
        </ul>
    </div>
</div>